package org.jeecg.modules.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.List;

/**
 * @Author wt
 * @Date: 2024/10/11 10:45
 * @Description:
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class SysIndexTask implements Serializable {

    private static final long serialVersionUID = 1L;

    /**id*/
    @TableId(type = IdType.ASSIGN_ID)
    private java.lang.String id;

    /**
     * 任务名
     */
    @Excel(name="任务名",width=15)
    private java.lang.String taskName;

    /**任务类型 0/OA,1/CRAWLER,3/MINIO*/
    @Excel(name="任务类型",width=15)
    @Dict(dicCode = "task_type")
    @ApiModelProperty(value = "taskType")
    private java.lang.Integer taskType;

    /**描述*/
    @Excel(name="描述",width=40)
    private java.lang.String description;

    /**创建人*/
    private java.lang.String createBy;

    /**创建时间*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private java.util.Date createTime;

    /**删除状态*/
    private java.lang.Integer delFlag;

    /**修改人*/
    private java.lang.String updateBy;

    /**修改时间*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private java.util.Date updateTime;

    /**
     * json
     */
    @Excel(name="json",width=3000)
    private String parameter;

    private List<String> sourceList;

    private String avatar;

    private java.lang.Integer websiteId;

    private java.lang.String knowledgeBase;

    private Long[] docIds;
}
